package com.wencai.bean;

/**
 * @author wangpan
 * @date 2023/5/11
 */
public class CalculateResult {
    private String startTimePoint;
    private String endTimePoint;
    private double gainRate;
    private double winRate;
    private double averageRate;

    private double winCount;
    private double failCount;
    private double winMoreCount;
    private double winMuchMoreCount;
    private double failMoreCount;
    private double failMuchMoreCount;

    private double maxWin;
    private double maxFail;

    public CalculateResult(String startTimePoint, String endTimePoint, double gainRate) {
        this.startTimePoint = startTimePoint;
        this.endTimePoint = endTimePoint;
        this.gainRate = gainRate;
    }

    public double getWinCount() {
        return winCount;
    }

    public void setWinCount(double winCount) {
        this.winCount = winCount;
    }

    public double getFailCount() {
        return failCount;
    }

    public void setFailCount(double failCount) {
        this.failCount = failCount;
    }

    public double getWinRate() {
        return winRate;
    }

    public void setWinRate(double winRate) {
        this.winRate = winRate;
    }

    public String getStartTimePoint() {
        return startTimePoint;
    }

    public void setStartTimePoint(String startTimePoint) {
        this.startTimePoint = startTimePoint;
    }

    public String getEndTimePoint() {
        return endTimePoint;
    }

    public void setEndTimePoint(String endTimePoint) {
        this.endTimePoint = endTimePoint;
    }

    public double getGainRate() {
        return gainRate;
    }

    public void setGainRate(double gainRate) {
        this.gainRate = gainRate;
    }

    public double getWinMoreCount() {
        return winMoreCount;
    }

    public void setWinMoreCount(double winMoreCount) {
        this.winMoreCount = winMoreCount;
    }

    public double getWinMuchMoreCount() {
        return winMuchMoreCount;
    }

    public void setWinMuchMoreCount(double winMuchMoreCount) {
        this.winMuchMoreCount = winMuchMoreCount;
    }

    public double getFailMoreCount() {
        return failMoreCount;
    }

    public void setFailMoreCount(double failMoreCount) {
        this.failMoreCount = failMoreCount;
    }

    public double getFailMuchMoreCount() {
        return failMuchMoreCount;
    }

    public void setFailMuchMoreCount(double failMuchMoreCount) {
        this.failMuchMoreCount = failMuchMoreCount;
    }

    public double getMaxWin() {
        return maxWin;
    }

    public void setMaxWin(double maxWin) {
        this.maxWin = maxWin;
    }

    public double getMaxFail() {
        return maxFail;
    }

    public void setMaxFail(double maxFail) {
        this.maxFail = maxFail;
    }

    public double getAverageRate() {
        return averageRate;
    }

    public void setAverageRate(double averageRate) {
        this.averageRate = averageRate;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("CalculateResult{");
        sb.append("startTimePoint='").append(startTimePoint).append('\'');
        sb.append(", endTimePoint='").append(endTimePoint).append('\'');
        sb.append(", gainRate=").append(gainRate);
        sb.append(", winRate=").append(winRate);
        sb.append(", averageRate=").append(averageRate);
        sb.append(", winCount=").append(winCount);
        sb.append(", failCount=").append(failCount);
        sb.append(", winMoreCount=").append(winMoreCount);
        sb.append(", winMuchMoreCount=").append(winMuchMoreCount);
        sb.append(", failMoreCount=").append(failMoreCount);
        sb.append(", failMuchMoreCount=").append(failMuchMoreCount);
        sb.append(", maxWin=").append(maxWin);
        sb.append(", maxFail=").append(maxFail);
        sb.append('}');
        return sb.toString();
    }
}
